﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class WebForm4 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string goods = "";
            if (Session["goods"] != null)
            {
                foreach (string item in (List<string>)Session["goods"])
                {
                    goods += item + "  ";
                }
            }

            Response.Write("购物车： <br/>" + goods);
        }
    }
}